package com.black.app.domain.req.store.add;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@ApiModel(value = "AppStoreCategoryAddReq", description = "商品分类添加请求对象")
public class AppStoreCategoryAddReq {

    @ApiModelProperty(value = "分类名称")
    @NotNull(message = "{appstorecategory.not.categoryName}")
    private String categoryName;

    @ApiModelProperty(value = "分类图片地址")
    private String categoryImageSrc;

    @ApiModelProperty(value = "父级分类ID")
    @NotNull(message = "{appstorecategory.not.superId}")
    private Integer superId;
}
